package CTRLayer;

import java.util.ArrayList;
import DBLayer.DBResponseList;
import ModelLayer.ResponseList;
//
public class ResponseListCTR
{
	public ArrayList<ResponseList> findAllResponseLists()
    {
		DBResponseList dbResponseList = new DBResponseList();
        ArrayList<ResponseList> allResponseLists = new ArrayList<ResponseList>();
        allResponseLists = dbResponseList.getAllResponseList(false);
        return allResponseLists;
    }
	
	public ResponseList findResponseListID(int ResponseListID)
	{
		DBResponseList dbResponseList = new DBResponseList();
		return dbResponseList.searchResponseListID(ResponseListID, true);
	}
	
	public DBResponseList findResponseListByTrainedName(String trainedName)
    {
		DBResponseList dbResponseList = new DBResponseList();
		dbResponseList.searchResponseListByTrainedName(trainedName, true);
        return dbResponseList;
    }
}